﻿
<div class="modal-header">
    <button type="button" class="close" ng-disabled="loadingState" ng-click="close();"><span aria-hidden="true">&times;</span></button>
    <h3 class="modal-title">意外处理 - 申请重考</h3>
</div>

<div class="modal-body">
    <form class="form-horizontal">
        <div class="form-group">
            <label for="txtAdjustTime" class="col-sm-3 col-sm-offset-1 control-label">调整时间：</label>
            <div class="col-sm-7">
                <div class="input-group">
                    <input id="txtAdjustTime" class="form-control datetimepicker" size="50" type="text" readonly="readonly" />
                    <span class="input-group-btn">
                        <button class="btn btn-gray" type="button" onclick="javascript: $('.datetimepicker').val('');">
                            <i class="glyphicon glyphicon-remove"></i>
                        </button>
                    </span>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label for="txtComments" class="col-sm-3 col-sm-offset-1 control-label">调整说明：</label>
            <div class="col-sm-7">
                <textarea ng-model="curComments" id="txtComments" class="form-control" rows="3" cols="10"></textarea>
            </div>
        </div>
    </form>
</div>

<div class="modal-footer">
    <button class="btn btn-turquoise" ng-click="save();" ng-disabled="loadingState">
        <i class="fa fa-spinner fa-spin" ng-show="loadingState"></i>
        <i class="fa fa-check" ng-hide="loadingState"></i>
        确定
    </button>
    <button class="btn btn-gray" ng-click="close();" ng-disabled="loadingState">
        <i class="fa fa-close"></i>
        关闭
    </button>
</div>

<script>
    $(function () {
        $('.datetimepicker').datetimepicker({
            lang: 'ch',
            step: 5
        });
    });
</script>